unlzma: Remove 'inline' decl from non-static function.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 9 Nov 2009 22:30:21 +0000 (22:30 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 9 Nov 2009 22:30:21 +0000 (22:30 +0000)
Breaks the build with some versions of gcc.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/unlzma.c

index 45e644fc545a661ea6872a5a358097246667c489..2e9d038ac05904ca99bd2bba6d9d5fc32e4ba7c0 100644 (file)
@@ -524,12 +524,12 @@ static inline void INIT process_bit1(struct writer *wr, struct rc *rc,
 
 
 
-STATIC inline int INIT unlzma(unsigned char *buf, unsigned int in_len,
-                             int(*fill)(void*, unsigned int),
-                             int(*flush)(void*, unsigned int),
-                             unsigned char *output,
-                             unsigned int *posp,
-                             void(*error_fn)(const char *x)
+STATIC int INIT unlzma(unsigned char *buf, unsigned int in_len,
+                      int(*fill)(void*, unsigned int),
+                      int(*flush)(void*, unsigned int),
+                      unsigned char *output,
+                      unsigned int *posp,
+                      void(*error_fn)(const char *x)
        )
 {
        struct lzma_header header;